import React, { Component } from 'react';

import { Consumer } from './index';

export class Node extends Component {
  render() {
    return (
      <div>
        Node
        <Consumer>
          {(value) => <div style={{ color: value }}>xxxx</div>}
        </Consumer>
      </div>
    );
  }
}
